package com.ruoyi.order.api.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单日志对象 erp_seller_order_log
 *
 * @author erp
 * @date 2023-04-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_seller_order_log")
public class ErpSellerOrderLog extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 店铺名
     */
    private String storeName;
    /**
     * ERP注册账号
     */
    private String erpAccount;
    /**
     * 订单号
     */
    private Long orderId;
    /**
     * 子订单号
     */
    private String childOrderId;
    /**
     * 操作说明
     */
    private String statusIntro;

    private Integer type;

    /**
     * 上一个状态
     */
    private String previousStatus;

    private String previousOrderProcess;

    /**
     * 当前状态
     */
    private String currentStatus;

    private String currentOrderProcess;
    /**
     * 乐观锁
     */
    private String revision;
    /**
     * 备注
     */
    private String remark;
    /**
     * 流程代码
     */
    private String orderProcessFlag;
}
